<% content_for :head do %> <%= wym_editor_initialize %> <% end %>

<% form_for :post, @post, :url => {:action => "update", :id => @post} do |f| %>
  
  <%= f.text_field :title, :size => "100" %><br /><br />  
  <%= wym_editor :post, :body %><br />
  <%= f.hidden_field :guid %>
  <%= submit_tag "Cохранить", :class=> "wymupdate" %> <%= link_to "Oтмена", :action => "index" %>  
<% end %>
